package com.uls.czj.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.uls.common.annotation.Excel;
import com.uls.common.core.domain.BaseEntity;

/**
 * 土地管理对象 czj_land
 * 
 * @author czj
 * @date 2024-11-10
 */
public class CzjLand extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 土地id */
    private Long landid;

    /** 土地位置 */
    @Excel(name = "土地位置")
    private String location;

    /** 土地面积（平方米） */
    @Excel(name = "土地面积", readConverterExp = "平=方米")
    private BigDecimal area;

    /** 使用状态，值: 空闲, 已用, 规划中 */
    @Excel(name = "使用状态，值: 空闲, 已用, 规划中")
    private String usagestatus;

    /** 所属楼宇id */
    @Excel(name = "所属楼宇id")
    private String buildingid;

    /** 土地使用权人id */
    @Excel(name = "土地使用权人id")
    private Long landuser;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdby;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdtime;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updatedby;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedtime;

    /** 删除人 */
    @Excel(name = "删除人")
    private String deletedby;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deletedtime;

    @Excel(name = "土地使用权人")
    private String landusername;

    public String getLandusername() {
        return landusername;
    }

    public void setLandusername(String landusername) {
        this.landusername = landusername;
    }

    public void setLandid(Long landid)
    {
        this.landid = landid;
    }

    public Long getLandid() 
    {
        return landid;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setArea(BigDecimal area) 
    {
        this.area = area;
    }

    public BigDecimal getArea() 
    {
        return area;
    }
    public void setUsagestatus(String usagestatus) 
    {
        this.usagestatus = usagestatus;
    }

    public String getUsagestatus() 
    {
        return usagestatus;
    }
    public void setBuildingid(String buildingid) 
    {
        this.buildingid = buildingid;
    }

    public String getBuildingid() 
    {
        return buildingid;
    }
    public void setLanduser(Long landuser) 
    {
        this.landuser = landuser;
    }

    public Long getLanduser() 
    {
        return landuser;
    }
    public void setCreatedby(String createdby) 
    {
        this.createdby = createdby;
    }

    public String getCreatedby() 
    {
        return createdby;
    }
    public void setCreatedtime(Date createdtime) 
    {
        this.createdtime = createdtime;
    }

    public Date getCreatedtime() 
    {
        return createdtime;
    }
    public void setUpdatedby(String updatedby) 
    {
        this.updatedby = updatedby;
    }

    public String getUpdatedby() 
    {
        return updatedby;
    }
    public void setUpdatedtime(Date updatedtime) 
    {
        this.updatedtime = updatedtime;
    }

    public Date getUpdatedtime() 
    {
        return updatedtime;
    }
    public void setDeletedby(String deletedby) 
    {
        this.deletedby = deletedby;
    }

    public String getDeletedby() 
    {
        return deletedby;
    }
    public void setDeletedtime(Date deletedtime) 
    {
        this.deletedtime = deletedtime;
    }

    public Date getDeletedtime() 
    {
        return deletedtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("landid", getLandid())
            .append("location", getLocation())
            .append("area", getArea())
            .append("usagestatus", getUsagestatus())
            .append("buildingid", getBuildingid())
            .append("landuser", getLanduser())
            .append("createdby", getCreatedby())
            .append("createdtime", getCreatedtime())
            .append("updatedby", getUpdatedby())
            .append("updatedtime", getUpdatedtime())
            .append("deletedby", getDeletedby())
            .append("deletedtime", getDeletedtime())
            .toString();
    }
}
